package test2.experiment1.num1;

public class Book extends Media {

    String press;
    String authors;

    public Book(String id, String title, String press, String authors) {
        super(id, title);
        this.press = press;
        this.authors = authors;
    }

    static void showType() {
        System.out.println("Type: Book");
    }

    @Override
    public void showInformation() {
        System.out.println("ID: " + id + ", " + "Title: " + title
                + ", Press: " + press + ", Authors" + authors);
    }
}
